package com.stars.easyms.demo.dao;

import com.stars.easyms.datasource.annotation.EasyMsRepository;
import com.stars.easyms.datasource.annotation.SpecifyDataSource;
import com.stars.easyms.datasource.annotation.SpecifyMasterDataSource;
import com.stars.easyms.datasource.annotation.SpecifySlaveDataSource;
import com.stars.easyms.demo.dto.UserInfo;

import java.util.List;

@EasyMsRepository
public interface UserInfoDAO {

    List<UserInfo> getAllUserInfo();

    UserInfo getUserInfoByName(String name);

    int deleteAllUserInfo();

    int deleteUserInfoByName(String name);
}
